using System.Collections.Generic;
using UnityEngine;

public class FBDJRelicEffectSystem : RelicEffectSystem
{
    public override void Setup()
    {
        int whiteDamageAmount = 7;
        float probability = 0.8f;
        int healAmount = 11;
        float healbability = 0.6f;

        // 创建新的遗物效果并添加到列表中
        var newEffect = new ListenTypeRelicEffect<DealDamageGA, DealWhiteDamageGA>(
            whiteDamageAmount,
            new SameAsListenerTM(),
            probability
        );
   
        var healEffect = new ListenTypeRelicEffect<DealDamageGA, DealHealGA>(
            healAmount,
            new HeroSelfTM(),
            healbability
        );

        relicEffects.Add(newEffect);
        relicEffects.Add(healEffect);
    }
}
